<me:UIVAF x:Class="WPFExcelReport.TVAFBEZ"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                    xmlns:VA="clr-namespace:WPFExcelReport;assembly=TVAART" 
                    xmlns:VAK="clr-namespace:WPFExcelReport;assembly=TVAKOLL" 
                    xmlns:GSC="clr-namespace:WPFExcelReport;assembly=TGSCOLOR" 
                    xmlns:LM="clr-namespace:WPFExcelReport;assembly=TLMFKART" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVAF.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVAF.Resources>
    <WrapPanel>
        <Grid Margin="10,0,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=颜色描述:}}"></TextBlock>
            <ex:TXT72  Grid.Column="1"  
                       MaxLength="20" 
                       CharacterCasing="Upper"
                       IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                       Text="{Binding VAFBEZ,Converter={StaticResource gb2312},ElementName=TV}"
                       Width="150"  />
        </Grid>
        <GSC:TPGS07 CART="{Binding PRART,ElementName=TV}"
                    IsAutoGSC="True"/>
    </WrapPanel>
</me:UIVAF>
